package com.estate.owner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Owner;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface OwnerService extends IService<Owner> {

    JsonResult findById(String id);

    JsonResult listByPage(int page, int size);

    JsonResult addOwner(Owner owner);

    JsonResult updateOwner(Owner owner);

    JsonResult deleteOwner(String id);

}
